package com.sakura.mall.product.spuInfo.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.product.spuInfo.domain.entity.SpuInfoEntity;
import com.sakura.mall.product.spuInfo.domain.request.AddSpuInfoRequest;
import com.sakura.mall.product.spuInfo.domain.request.UpdateSpuInfoRequest;
import com.sakura.mall.product.spuInfo.domain.request.SpuInfoPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.product.spuInfo.domain.vo.SpuInfoVo;

/**
 * spu信息 service
 *
 * @author sakura
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<SpuInfoVo> queryPage(SpuInfoPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddSpuInfoRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateSpuInfoRequest request);
}
